#set page(numbering: ("— 1 —" ) ) // 使用阿拉伯数字 (例如: 1, 2, 3...)

#set text(
  font: "HarmonyOS Sans SC",
  size: 18pt,
  fill: rgb("#010920")
)

#set heading(numbering: "📖1-1")

#set par(
  //  first-line-indent: ( 1.5em),
  spacing: 1.1em,
  leading: 0.9em,
  justify: true,
)

#set block(spacing: 1.2em)

// 仅设置代码块样式
#show raw.where(block: true): it => {
  block(
      fill: rgb("#d0d3da"),
      inset: 8pt,
      radius: 5pt,
      text(fill: rgb("#0f1525"), it)
  )
}

#show raw.where(block: false): it => box(
  fill: rgb("#f9f2f4"),  // 浅粉色背景
  inset: 1pt,  // 内边距
  radius: 2pt,  // 圆角
  text(
    font: "Fira Code",
    size: 1.2em,
    fill: rgb("#d63384"),  // 深粉色文字
    it
  )
)

#include "title.typ"

#include "author.typ"

#include "copyright.typ"

#include "prerequisite.typ"

#include "getting_this_book.typ"

#include "installing_stuff.typ"

#include "hosted_language.typ"

#include "first_steps.typ"

#include "data_structures.typ"

#include "difference_between_vectors_and_lists.typ"

#include "reading-clojure-documentation.typ"

#include "logic-and-comparison.typ"

#include "conditions_and_branching.typ"

#include "loops.typ"

#include "functions.typ"

#include "debugging_with_calva.typ"

#include "spec.typ"

#include "atom.typ"

#include "what-is-clojure-code.typ"

#include "sequence.typ"

#include "lazy_sequence.typ"

#include "map_filter_reduce_apply.typ"

#include "destructuring.typ"

#include "threading.typ"

#include "regular_expression.typ"

#include "splitting_large_programs.typ"

#include "records_and_protocols.typ"

#include "namespaces.typ"

#include "exception_handling.typ"

#include "testing.typ"

#include "macros.typ"

#include "projects_with_leiningen.typ"

#include "private_functions.typ"

#include "file_operations.typ"

#include "java_files_in_clojure_project.typ"

#include "jar_files_in_clojure_project.typ"

#include "where_to_get_help.typ"

#include "bibligraphy.typ"
